Summarizing Calling Contexts
نویسندگان
چکیده
Library developers often have to deal with client compatibility issues across versions of a library that are identical in their API specification. The reason for this can often be traced to some unspecified assumptions made by the client about the behaviour of exported library functions. Earlier work in this direction includes [4] . One could partially address this problem by analyzing the data flow across the context at which these library functions are called, i.e., through a summary of the flow of data from the function returns back to the function entry. As a first step in this direction, we present a generic method to implement a class of data flow analyses summarizing information flow across contexts. The paper is organized as follows. Section 3 defines function summaries and Weighted Push Down Systems (WPDSs) and recalls the program transformation used to model program paths by runs of the WPDS and obtain function summaries. Section 4 proposes the notion of Context Summaries and in section 4.1 describes the alternative Control Flow Graph (CFG) to WPDS transformation that is the main result of this paper. Section 5 describes the implementation of our tool and section 6 contains some experimental results. Finally, section 7 concludes with some ideas for future work. 3 Background
منابع مشابه
Difference between Leisure and Work Contexts: The Roles of Perceived Enjoyment and Perceived Usefulness in Predicting Mobile Video Calling Use Acceptance
There is a rapidly growing body of literature on mobile video calling, which is a promising communication technology; however, little research has focused on user acceptance of mobile video calling, especially in different use contexts. This study explored factors (especially perceived enjoyment) influencing the intention of users to employ video calling in different contexts (a work and a leis...
متن کاملName-calling in Greek YouTube comments
Recently, research in pragmatics has turned to the analysis of online impoliteness in light of the growing importance of computer-mediated communication and the prevalence of online aggression in such contexts. However, although name-calling and other impoliteness strategies have been examined in various languages, similar research in Greek is still scarce. Therefore, this paper focuses on the ...
متن کاملThe Vocative Chant and Beyond: German Calling Melodies Under Routine and Urgent Contexts
This paper investigates calling melodies produced by 21 Standard German native speakers on a discourse completion task across two contexts: (i) routine context—calling a child from afar to come in for dinner; (ii) urgent context—calling a child from afar for a chastising. The intent of this investigation is to bring attention to other calling melodies found in German beside the vocative chant a...
متن کاملEfficient Pointer Analysis of Java in Logic
Points-to analysis for Java benefits greatly from context sensitivity. CFL-reachability and k-limited context strings are two approaches to obtaining context sensitivity with different advantages: CFL-reachability allows local reasoning about data value flow and thus is suitable for demand-driven analyses, whereas k-limited analyses allow object sensitivity which is a superior calling-context a...
متن کاملAutomatically Proving the Termination of Functional Programs
ion of the actual system. We use CCGs to perform a local analysis which, if successful, can determine that the definitions terminate. To do this, we start by assigning calling context measures to contexts in the CCG. 8.4 Calling Context Measures and Termination Definition 8.4.1. Given a calling context, c = 〈f,G, e〉, and a set S ⊆ Val , the set of calling context measures (CCMs) for c over S, d...
متن کامل